package readsourcecode.ch2;

import java.util.Comparator;

/**
 * @Date 2022/8/7
 * @Author Jonathan
 */
public class ProcessorComparator implements Comparator<BasePostProcessor> {
    @Override
    public int compare(BasePostProcessor o1, BasePostProcessor o2) {
        return Integer.valueOf(o1.getPrimary()).compareTo(Integer.valueOf(o2.getPrimary()));
    }
}
